package cn.shengchao.rule.condition.paramKey;

import cn.shengchao.rule.condition.ConditionType;
import cn.shengchao.rule.condition.matchType.IMatchType;
import cn.shengchao.rule.condition.valueType.IValueType;

import java.util.Collections;
import java.util.List;

/**
 * @program: examstarapi
 * @description: 用户等级
 * @author: Xiong weiqiang
 * @create: 2025-04-12 20:53
 */
public class UserVipLevelParamKey extends AbstractConditionParamKey implements IConditionParamKey {
    @Override
    public String getParamKey() {
        return IConditionParamKey.VIP_LEVELS;
    }
    @Override
    public String getConditionType() {
        return ConditionType.USER_PARAM.name();
    }
    @Override
    public String getParamShow() {
        return "指定会员等级";
    }

    @Override
    public String getValueTypeKey() {
        return IValueType.TYPE_ARRAY;
    }

    @Override
    public List<String> getMatchTypeKeys() {
        return Collections.singletonList(IMatchType.IN_ARRAY);
    }
}